import axios from 'axios';
import { loginreq, req } from './axiosFun';

/**
 * 维修管理
 **/
// 维修管理-分页
export const repairStatusList = (params) => { return req("post", "/api/status/list/page1", params) };

// 维修管理-添加
export const repairStatusSave = (params) => { return req("post", "/api/status/save", params) };
// 维修管理-修改
export const repairStatusEdit = (params) => { return req("post", "/api/status/edit", params) };

// 维修管理-删除
export const repairStatusDelete = (params) => { return axios.delete("/api/status/del/" + params).then(res => res.data) };
// 维修管理-状态
export const repairStatusStatus = (params) => { return req("post", "/api/status/edit", params) };
// 维修管理-批量
export const repairStatusBatchDel = (params) => { return req("post", "/api/status/del/batch", params) };

